export function register(data,that) {
  return that.$http.post('/common/student_user/add', data)
  .then((res) => {
    if (res.data.success) {
      that.$message({
        message: '注册成功！',
        type: 'success'
      })
    } else {
      that.$message({
        message: res.data.message,
        type: 'error'
      })
    }
  })
}